package edu.seminario

import org.springframework.transaction.annotation.Transactional;

class LoginService {

	@Transactional
    def auth(String username, String password) {
		return UsuarioAdmin.findByUsernameAndPassword(username, password)
    }
}
